package com.jsoft.controller;

public class Code {
    /**
     *  响应成功状态码
     */
    public static final Integer SAVE_OK=20011;
    public static final Integer DELETE_OK=20021;
    public static final Integer UPDATE_OK=20031;
    public static final Integer GET_OK=20041;

    /**
     * 响应失败状态码
     */

    public static final Integer SAVE_ERR=20010;
    public static final Integer DELETE_ERR=20020;
    public static final Integer UPDATE_ERR=20030;
    public static final Integer GET_ERR=20040;


    /**
     * 系统异常
     */
    public static final Integer SYSTEM_ERR=50001;
    /**
     * 响应超时
     */
    public static final Integer SYSTEM_TIMEEOUT_ERR=50002;
    /**
     * 表现层异常
     */
    public static final Integer BUSSINESS_ERR=60001;
    /**
     * 系统位置异常
     */
    public static final Integer SYSTEM_UNKNOW_ERR=59999;

    /**
     * 校验参数异常
     */
    public static final Integer PARAMETER_ERR=60003;
}
